<%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8" import="com.java.util.*,java.util.*"%>
<%
	HashMap loginMap = null;
	LoginUtil loginutil = new LoginUtil();
	loginMap = (HashMap)loginutil.login(request,response);
	
	System.out.println(loginMap);
	if(loginMap.get("result").equals("N")){
		out.print("<script>");
		out.print("alert('"+loginMap.get("loginError")+"')");
		out.print("</script>");
	}else{
		out.print("<script>");
		out.print("parent.movePage('"+(String)loginMap.get("result")+"')");
		out.print("</script>");
		//response.sendRedirect((String)loginMap.get("result"));
	}
%>